﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Biz.Facade
{
    public class PaymentSystem
    {

        /// <summary>
        /// #设计模式#外观模式，使用一个Pay的入口方法
        /// </summary>
        public bool Pay(Application application)
        {
            PaymentTransaction pt = new PaymentTransaction(application);
            return pt.Pay();
        }
    }
}
